:root {
    /* Kolory systemowe */
    --color-primary: #847DA1;
    --color-secondary: #A2A2A2;
    --color-text: #4E443C;
    --color-accent: #F9889B;
    --color-background: #FBFBFB;
  
    /* Typografia dla nagÅ‚Ã³wkÃ³w */
    --font-primary-family: 'Amatic SC', sans-serif;
    --font-primary-size-large: 4rem;
    --font-primary-weight-bold: 700; 
    --font-primary-line-height: 1.125em; 
  
    /* Typografia dla tekstu */
    --font-secondary-family: 'Open Sans', sans-serif;
    --font-secondary-size-base: 1rem; 
    --font-secondary-weight-normal: 400;
    --font-secondary-line-height: 1.65em;
}

.e-con-inner { 
    @media (width < 48em) { 
        --flex-wrap: nowrap!important; 
    } 
}
  
/* search bar */
.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp {
    background-color: var(--color-background);
}
.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input:hover, .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input,
.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input:hover,
.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input,
.dgwt-wcas-suggestion-selected {
    background-color: #F6F5F5;
}
.dgwt-wcas-suggestions-wrapp.woocommerce.dgwt-wcas-has-img.dgwt-wcas-has-headings.js-dgwt-wcas-initialized,
.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input {
    font-family: var(--font-secondary-family);
    font-size: var(--font-secondary-size-base);
    font-weight: var(--font-secondary-weight-normal);
    line-height: var(--font-secondary-line-height);
}
.dgwt-wcas-st {
    color: var(--color-text);
}

/* my account page */
.woocommerce-MyAccount-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-family: var(--font-secondary-family);
    line-height: var(--font-secondary-line-height);
    font-weight: var(--font-secondary-weight-normal);
}
.woocommerce-MyAccount-content-wrapper button[type="submit"] {
    font-size: 2.25rem!important;
}
.woocommerce-MyAccount-content-wrapper .woocommerce-address-fields__field-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.woocommerce-MyAccount-content-wrapper p.form-row {
    margin: 0!important;
    padding: 0!important;
    display: flex;
    align-items: center;
    gap: 2rem;
}
.woocommerce-MyAccount-content-wrapper p.form-row label {
    margin: 0!important;
}
.woocommerce-MyAccount-content-wrapper span.select2-selection__placeholder,
.woocommerce-MyAccount-content-wrapper input::placeholder {
    padding: 12px;
    font-size: 0.85rem!important;
}
.woocommerce-MyAccount-content-wrapper input {
    font-size: 1rem!important;
    color: var(--color-text)!important;
}
.woocommerce-MyAccount-content h2 {
    font-size: 2.25rem!important;
    margin-bottom: 2rem!important;
    margin-top: 0!important;
    font-family: var(--font-primary-family)!important;
    font-weight: var(--font-primary-weight-bold)!important;
    line-height: var(--font-primary-line-height)!important;
}
.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce a:hover {
    color: var(--color-text)!important;
}
.woocommerce-MyAccount-content .u-columns.woocommerce-Addresses.col2-set.addresses {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}
.woocommerce-MyAccount-content form.woocommerce-EditAccountForm.edit-account {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.woocommerce-MyAccount-content-wrapper fieldset {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.woocommerce-MyAccount-content-wrapper fieldset legend {
    font-size: 2.25rem!important;
    font-family: var(--font-primary-family)!important;
    font-weight: var(--font-primary-weight-bold)!important;
    line-height: var(--font-primary-line-height)!important;
}
.woocommerce-MyAccount-content-wrapper p.woocommerce-form-row em,
.woocommerce-MyAccount-content-wrapper span.optional {
    font-size: 0.85rem !important;
}

/* cart icon counter */
.header .cart-icon .cart-count {
    position: absolute;
    right: -6px;
    background: var(--color-accent);
    color: var(--color-background);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    bottom: 0;
    font-family: var(--font-secondary-family)!important;
    font-size: 0.85rem;
    font-weight: var(--font-secondary-weight-bold)!important;
    line-height: var(--font-secondary-line-height)!important;
}

/* product page woo notices */
.elementor-widget-woocommerce-notices .e-woocommerce-notices-wrapper {
    display: grid;
    gap: 1rem;
}
.elementor-widget-woocommerce-notices .woocommerce-info,
.elementor-widget-woocommerce-notices .woocommerce-message {
    min-width: 767px!important;
    padding: 1rem 2.25rem 1rem 2.25rem!important;
    border-radius: 35px!important;
    display: flex!important;
    justify-content: space-between!important;
    gap: 1rem;
}
.elementor-widget-woocommerce-notices ul.woocommerce-error {
    min-width: 767px!important;
    padding: 1rem 2.25rem 1rem 2.25rem!important;
    border-radius: 35px!important;
    gap: 1rem;
    display: flex;
    flex-direction: column;
}
.elementor-widget-woocommerce-notices ul.woocommerce-error li {
    display: flex!important;
    justify-content: space-between!important;
    gap: 1rem;
}
.elementor-widget-woocommerce-notices .cart-empty.woocommerce-info {
    justify-content: center!important;
}
.elementor-widget-woocommerce-notices .woocommerce-info {
    border: 1px solid var(--color-primary)!important;
}
.elementor-widget-woocommerce-notices .woocommerce-message {
    border: 1px solid var(--color-text)!important;
}
.elementor-widget-woocommerce-notices .woocommerce-error {
    border: 1px solid red!important;
}
.elementor-widget-woocommerce-notices .woocommerce-error a.button,
.elementor-widget-woocommerce-notices .woocommerce-message a.button {
    border: none !important;
    color: var(--color-text) !important;
    background: none;
    text-transform: uppercase;
    font-weight: 700;
    font-family: var(--font-secondary-family);
    font-size: 0.85rem;
}
/* cart */
p.return-to-shop {
    display: flex;
    justify-content: center;
}
p.return-to-shop .button.wc-backward {
    border: none !important;
    color: var(--color-background) !important;
    background-color: var(--color-primary);
    text-transform: uppercase;
    font-family: var(--font-primary-family);
    font-weight: var(--font-primary-weight-bold);
    font-size: 2.25rem;
    padding: 0.65rem 2.25rem 0.65rem 2.25rem;
    border-radius: 35px;
}

/* home page - cat section */
.catmain {
    padding-top: 40px;
    padding-bottom: 62px;
}
@media (max-width: 991px) {
    .catmain {
        padding-top: 20px;
    }
}
.catmain__content {
    display: grid;
    grid-template-columns: 32% 32% 32%;
    grid-template-rows: 295px 295px;
    grid-auto-flow: row;
    gap: 2%;
}
@media (max-width: 1700px) {
    .catmain__content {
        grid-template-rows: 17vw 17vw;
    }
}
@media (max-width: 991px) {
    .catmain__content {
        grid-template-columns: 49% 49%;
        grid-template-rows: 46vw 27vw;
        gap: 6% 2%;
    }
}
.catmain__item {
    position: relative;
}
.catmain__item1 {
    grid-row: 1 / 3;
}
@media (max-width: 991px) {
    .catmain__item1 {
        grid-row: 1 / 2;
    }
}
.catmain__item1 h3 {
    left: 42%;
    top: 8%;
}
@media (max-width: 991px) {
    .catmain__item1 h3 {
        font-size: 46px !important;
        left: 29%;
    }
}
.catmain__item1 .bg {
    background-color: #E6E5EC;
    height: 100%;
    width: 76%;
    top: 0;
    left: 19%;
}
@media (max-width: 991px) {
    .catmain__item1 .bg {
        width: 67%;
    }
}
.catmain__item1 img {
    position: absolute;
    top: 16%;
    width: 111%;
}
@media (max-width: 991px) {
    .catmain__item1 img {
        width: 100%;
    }
}
.catmain__item1 .bt {
    left: calc(57% - 132px);
    bottom: 50px;
}
@media (max-width: 991px) {
    .catmain__item1 .bt {
        left: calc(57% - 70px);
        bottom: 20px;
    }
}
.catmain__item1:hover img {
    top: 8%;
}
.catmain__item1:hover h3 {
    top: 6%;
}
.catmain__item1:hover .bt {
    display: block;
}
.catmain__item2 h3 {
    left: 14%;
    top: 8%;
}
@media (max-width: 991px) {
    .catmain__item2 h3 {
        left: 10%;
        top: 13%;
    }
}
.catmain__item2 .bg {
    background-color: #F6F5F5;
    top: 0;
    left: 0;
    height: 94%;
    width: 78%;
}
.catmain__item2 img {
    position: absolute;
    top: 0;
    right: -10px;
    width: 69%;
}
@media (max-width: 991px) {
    .catmain__item2 img {
        top: 5px;
        right: 0;
        width: 78%;
    }
}
.catmain__item2 .bt {
    right: -10px;
    bottom: 0;
}
.catmain__item2:hover img {
    right: 10%;
}
.catmain__item2:hover h3 {
    left: 4%;
}
.catmain__item2:hover .bt {
    display: block;
}
.catmain__item3 {
    grid-row: 1 / 3;
    grid-column: 3;
}
@media (max-width: 991px) {
    .catmain__item3 {
        grid-row: 1 / 2;
        grid-column: 2;
    }
}
.catmain__item3 h3 {
    top: 29%;
    right: 24%;
}
.catmain__item3 .bg {
    background-color: #F6F5F5;
    top: 0;
    right: 0;
    width: 76%;
    height: 100%;
}
.catmain__item3 img {
    position: absolute;
    right: 0;
    top: -4%;
    width: 104.6%;
}
@media (max-width: 991px) {
    .catmain__item3 img {
        right: 10%;
        top: -6%;
        width: 93.6%;
    }
}
.catmain__item3 .bt {
    left: calc(63% - 132px);
    bottom: 50px;
}
@media (max-width: 991px) {
    .catmain__item3 .bt {
        left: calc(63% - 62px);
        bottom: 30px;
    }
}
.catmain__item3:hover h3 {
    top: 20%;
}
.catmain__item3:hover .bt {
    display: block;
}
.catmain__item4 h3 {
    bottom: 0%;
    right: 8%;
}
@media (max-width: 991px) {
    .catmain__item4 h3 {
        right: 17%;
    }
}
.catmain__item4 .bg {
    background-color: #D093AA33;
    width: 78%;
    height: 94%;
    top: 5%;
    right: 0;
}
.catmain__item4 img {
    position: absolute;
    top: 0;
    left: 0;
    width: 97%;
}
@media (max-width: 991px) {
    .catmain__item4 img {
        width: 90%;
    }
}
.catmain__item4 .bt {
    left: -10px;
    top: 20px;
}
.catmain__item4:hover img {
    transform: rotate(4deg);
}
.catmain__item4:hover .bt {
    display: block;
}
.catmain__item h3 {
    position: absolute;
    font-family: var(--font-primary-family); 
    font-size: 80px;
    text-transform: uppercase;
    transition: 200ms;
}
@media (max-width: 1400px) {
    .catmain__item h3 {
        font-size: 60px;
    }
}
@media (max-width: 991px) {
    .catmain__item h3 {
        font-size: 36px;
        font-weight: 700;
    }
}
.catmain__item .bt {
    display: none;
    position: absolute;
    width: 264px;
    height: 74px;
    background: radial-gradient(circle, #D093AA 0%, #DF6392 100%);
    color: #fff;
    text-align: center;
    font-family: var(--font-primary-family);
    font-size: 32px;
    line-height: 74px;
    border-radius: 37px;
    transition: 200ms;
}
@media (max-width: 991px) {
    .catmain__item .bt {
        width: 120px;
        height: 40px;
        font-size: 22px;
        line-height: 40px;
    }
}
.catmain__item img {
    transition: 200ms;
}
.catmain__item .bg {
    position: absolute;
    z-index: -1;
    display: block;
    border-radius: 65px;
}
@media (max-width: 991px) {
    .catmain__item .bg {
        border-radius: 28px;
    }
}


/* archive page */
#kudlaty-shop ul.products {
    grid-row-gap: 2rem;
}
#kudlaty-shop ul.products li.product img {
    transition: .3s;
    width: 100%;
    border-radius: 35px 35px 35px 35px;
}
#kudlaty-shop ul.products li.product:hover img {
    transform: scale(0.9);
}
#kudlaty-shop ul.products li.product {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
#kudlaty-shop ul.products a.woocommerce-loop-product__link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    align-items: center;
}
#kudlaty-shop a.add_to_cart_button,
#kudlaty-shop ul.products li.product .button,
#kudlaty-shop a.button {
    text-align: center;
    width: max-content;
    margin: auto;
    transition: .3s;
}
#kudlaty-shop a.button:hover {
    scale: 1.1;
}

@media all and (max-width: 767px) {
    #kudlaty-shop a.add_to_cart_button, #kudlaty-shop ul.products li.product .button {
        font-size: 1.45rem;
    }
    #kudlaty-shop h2.woocommerce-loop-product__title,
    #kudlaty-shop ul.products li.product .price {
        font-size: 2rem;
    }
}
#kudlaty-shop a.add_to_cart_button:hover {
    transform: scale(1.1);
}
#kudlaty-shop p.woocommerce-result-count {
    display: flex;
    align-self: flex-end;
    font-family: 'Open Sans';
    font-size: 0.85rem;
}
#kudlaty-shop form.woocommerce-ordering {
    display: flex;
    align-self: end;
    margin: 1rem 0 2rem 0;
    font-family: "Open Sans";
    text-decoration: none;
    line-height: 1.25em;
    border-style: none;
    display: flex;
    flex-direction: column;
    position: relative;
}
#kudlaty-shop form.woocommerce-ordering select {
    border-color: var(--e-global-color-primary);
    padding: 0.65rem 1rem 0.65rem 1rem;
    border-radius: 35px 35px 35px 35px;
}
#kudlaty-shop .woocommerce.columns-4 {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
}

@media(max-width: 1024px) {
    #kudlaty-shop ul.products {
        grid-column-gap: 1rem;
        grid-row-gap: 2rem;
    }
}
@media(max-width: 767px) {
    #kudlaty-shop ul.products {
        grid-template-columns: 1fr;
    }
}

.conf-product-label {
    position: absolute;
    top: 8px;
    font-family: 'Open Sans';
    font-size: 0.85rem;
    font-weight: 500;
    background-color: #9C8FD2;
    padding: 4px 12px;
    border-radius: 35px;
    color: #FBFBFB;
}

/* single product page, variations */

#woo-action-cart-add table.variations tbody {display: flex;flex-direction: column;gap: 8px;}
#woo-action-cart-add table.variations tr {display: flex;gap: 2rem;align-items: center;}
#woo-action-cart-add table.variations th.label {font-family: 'Open Sans';font-weight: 400;}
#woo-action-cart-add table.variations td.value {
    display: flex;
    align-items: center;
    gap: 1rem;
}
#woo-action-cart-add table.variations td.value select {border-color: var(--e-global-color-primary);padding: 0.45rem 0.65rem 0.45rem 0.65rem;border-radius: 35px 35px 35px 35px;font-family: 'Open Sans';font-size: 0.85rem;}

#woo-action-cart-add table.variations td.value .reset_variations {
    font-family: 'Open Sans';
    font-size: 0.85rem;
    color: red;
}
#woo-action-cart-add .woocommerce-variation-add-to-cart {margin-top: 2rem;align-items: center;gap: 1rem;}

#woo-action-cart-add  button.single_add_to_cart_button {
    color: var(--e-global-color-e9420c8);
    background-color: #847DA1;
    font-family: "Amatic SC", Sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    text-decoration: none;
    line-height: 1.25em;
    letter-spacing: 0.3px;
    border-radius: 35px 35px 35px 35px;
    padding: 0.65rem 2.25rem 0.65rem 2.25rem;
    transition: .3s;
}
#woo-action-cart-add  button.single_add_to_cart_button:hover {
    transform: scale(1.1);
}
#woo-action-cart-add .quantity .input-text.qty {
    text-align: center;
    width: 4rem;
    height: max-content;
    font-family: 'Open Sans';
}
#woo-action-cart-add p.stock.in-stock {
    margin: 1rem 0 1rem 0;
    color: green;
    font-weight: 700;
    font-family: 'Open Sans';
}
/* single product page, variations */

/* single product page */
#product-info-cart .woocommerce-product-gallery__image {
    width: 100%;
}
#product-info-cart .woocommerce-product-gallery__wrapper {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}

/* galeria */
#product-info-cart .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:first-child {
    grid-column: 1 / -1;
}
#product-info-cart .woocommerce-product-gallery__wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem; 
}
#product-info-cart .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image {
    margin: auto;
}
#product-info-cart .woocommerce-product-gallery__image img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    border-radius: 35px;
}

/* galeria */
#product-info-cart form.cart {
    gap: 1rem;
    flex-wrap: wrap;
}
#product-info-cart form.cart .quantity {
    align-items: center;
    display: flex;
}
/* single product page */

/* single product page additional info */
#product-info-cart  table.shop_attributes {
    margin-top: 2rem;
}
#product-info-cart  table.shop_attributes tbody {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
#product-info-cart  table.shop_attributes tr {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
}
#product-info-cart  table.shop_attributes th.woocommerce-product-attributes-item__label {
    font-family: 'Open Sans';
    font-weight: 400;
}
#product-info-cart  table.shop_attributes td.woocommerce-product-attributes-item__value {
    display: flex;
    align-items: center;
    gap: 1rem;
}
#product-info-cart  table.shop_attributes td.woocommerce-product-attributes-item__value p {
    font-family: 'Open Sans';
    font-weight: 600;
}
/* single product page additional info */


/* custom product gallery */

.kudlatyart-gallery-product .main-image {
    position: relative;
    overflow: hidden; 
    height: auto; 
}
.kudlatyart-gallery-product .main-image img {
    position: relative; 
    width: 100%;
    height: auto;
    transition: none; 
}
.kudlatyart-gallery-product  .gallery-prev i,
.kudlatyart-gallery-product .gallery-next i {
    pointer-events: none;
    font-size: 1.45rem;
    color: #847DA1;
    transition: .3s;
    background: #FBFBFB;
    padding: 6px;
    border-radius: 50%;
}
.kudlatyart-gallery-product .gallery-prev:hover i,
.kudlatyart-gallery-product .gallery-next:hover i {
    color: #D093AA;
}
.kudlatyart-gallery-product .icons-wrapper {
    position: absolute;
    bottom: 2rem;
    margin: auto;
    width: 100%;
    display: flex;
    justify-content: space-around;
}
.kudlatyart-gallery-product .thumbs {
    display: flex;
    margin-top: 1rem;
    width: 100%;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    overflow-x: auto;
}
.kudlatyart-gallery-product .thumbs img {
    cursor: pointer;
    filter: grayscale(1);
    transition: .3s;
    border-radius: 35px;
    width: 8rem;
}
.kudlatyart-gallery-product .thumbs img:hover {
    filter: unset;
}


@keyframes slideOutLeft {
    0% { transform: translateX(0); opacity: 1; }
    100% { transform: translateX(-100%); opacity: 0; }
}
@keyframes slideInLeft {
    0% { transform: translateX(100%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}
@keyframes slideOutRight {
    0% { transform: translateX(0); opacity: 1; }
    100% { transform: translateX(100%); opacity: 0; }
}
@keyframes slideInRight {
    0% { transform: translateX(-100%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

.kudlatyart-gallery-product .slide-out-left {
    animation: slideOutLeft 0.3s forwards;
}
.kudlatyart-gallery-product .slide-in-left {
    animation: slideInLeft 0.3s forwards;
}
.kudlatyart-gallery-product .slide-out-right {
    animation: slideOutRight 0.3s forwards;
}
.kudlatyart-gallery-product .slide-in-right {
    animation: slideInRight 0.3s forwards;
}
/* custom product gallery */
