header {
    position: sticky;
    top: -30px;
    z-index: 10;
}

.menu-bar .wp-block-yith-search-block .ywcas-block-components-search-field .ywcas-input-field-wrapper,
.ywcas-search-mobile .wp-block-yith-search-block .ywcas-block-components-search-field .ywcas-input-field-wrapper {
    border-top: none;
    border-left: none;
    border-right: none;
    border-radius: 0;
}

.menu-bar .wp-block-yith-search-block .ywcas-classic-search.ywcas-small input {
    font-size: var(--wp--preset--font-size--x-small) !important;
    font-weight: 300;
}

@media (max-width: 1200px) {
    .menu-bar>.wp-block-group {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .menu-bar>.wp-block-group {
        justify-content: space-between;
    }

    .menu-bar>.wp-block-group>.wp-block-group {
        gap: 10px;
    }

    .menu-bar .wp-block-yith-search-block .ywcas-classic-search.ywcas-small input {
        width: 100px !important;
        padding-left: 5px !important;
    }

    .menu-bar .wp-block-site-logo {
        display: none;
    }

    .menu-bar .lapilliUI-Input__endAdornment,
    .menu-bar .wp-block-yith-search-block .ywcas-classic-search .ywcas-input-field-wrapper .ywcas-submit-wrapper {
        margin: 0;
    }
}

.is-layout-flow>*,
:where(.wp-site-blocks)>* {
    margin-block-start: 0;
}

.wp-block-latest-posts.owl-carousel .owl-nav .owl-prev,
.wp-block-latest-posts.owl-carousel .owl-nav .owl-next,
.wc-block-grid__products.owl-carousel .owl-nav .owl-prev,
.wc-block-grid__products.owl-carousel .owl-nav .owl-next {
    position: absolute;
    top: calc(50% - 60px);
    font-size: 30px;
    color: #ccc;
}

.wp-block-latest-posts.owl-carousel .owl-dots .owl-dot span,
.wc-block-grid__products.owl-carousel .owl-dots .owl-dot span {
    border-color: #ccc;
}

.wp-block-latest-posts.owl-carousel .owl-dots .owl-dot.active span,
.wc-block-grid__products.owl-carousel .owl-dots .owl-dot.active span {
    background-color: #ccc;
}

.wp-block-latest-posts.owl-carousel .owl-nav .owl-prev,
.wc-block-grid__products.owl-carousel .owl-nav .owl-prev {
    left: 20px;
}

.wp-block-latest-posts.owl-carousel .owl-nav .owl-next,
.wc-block-grid__products.owl-carousel .owl-nav .owl-next {
    right: 20px;
}

.wc-block-grid__products li {
    overflow: hidden;
}

.wc-block-grid__products li .wc-block-grid__product-image_container {
    position: relative;
}

.wc-block-grid.has-5-columns .wc-block-grid__product,
.wc-block-grid.has-6-columns.alignfull .wc-block-grid__product {
    font-size: inherit;
    border: unset;
}

.wc-block-grid__products li .wc-block-grid__product-container {
    background-color: var(--wp--preset--color--white);
    margin: 10px;
}

.wc-block-grid__products li .wc-block-grid__product-container:hover,
.wc-block-grid__products li .wc-block-grid__product-container:focus {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.wc-block-grid__products li a {
    color: var(--wp--preset--color--theme-dark-gray);
}

.wc-block-grid__products li a:hover {
    color: var(--wp--preset--color--theme-dark-blue);
}

.wc-block-grid__products li .wc-block-grid__product-add-to-cart {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 9;
    transition: all .35s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);
    margin: 0;

}

.wc-block-grid__products li .wc-block-grid__product-add-to-cart .add_to_cart_button {
    width: 100%;
    border-radius: 0;
    color: var(--wp--preset--color--white);
}

.wc-block-grid__products li .wc-block-grid__product-add-to-cart .add_to_cart_button+span {
    display: none;
}

.wc-block-grid__products li:hover .wp-block-button.wc-block-grid__product-add-to-cart,
.wc-block-grid__products li:focus .wp-block-button.wc-block-grid__product-add-to-cart {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.edit-post-visual-editor .editor-block-list__block .wc-block-grid__product-title,
.editor-styles-wrapper .wc-block-grid__product-title,
.wc-block-grid__products li .wc-block-grid__product-title,
.wc-block-grid__products li .wp-block-post-title {
    font-weight: 300;
    margin: 0;
    font-size: inherit;
}

.wc-block-grid__products li .wc-block-grid__product-content {
    padding: 10px 20px 15px 20px;
}

.wc-block-grid__products li .wpc-buttons {
    display: flex;
    flex-direction: column;
    position: absolute;
    right: 20px;
    top: 20px;
    background-color: transparent;
    z-index: 9;
    visibility: hidden;
    opacity: 0;
    transition: all .35s ease;
    transform: translateX(-15px);
    gap: 10px;
}

.wc-block-grid__products li:hover .wpc-buttons,
.wc-block-grid__products li:focus .wpc-buttons {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
}

.wc-block-grid__products li .wpc-buttons .woosc-btn-has-icon.woosc-btn-icon-only,
.wc-block-grid__products li .wpc-buttons .woosq-btn-has-icon.woosq-btn-icon-only,
.wc-block-grid__products li .wpc-buttons .woosw-btn-has-icon.woosw-btn-icon-only {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    font-size: 12px;
    line-height: 1;
    transition: all .35s ease;
    padding: 0;
    border-radius: 50%;
    color: var(--wp--preset--color--white);
    background-color: var(--wp--preset--color--theme-dark-blue);
    cursor: pointer;
    border: unset;
}

.wc-block-grid .wc-block-grid__product-onsale,
.wc-block-grid__product-image .wc-block-grid__product-onsale {
    top: 20px;
    left: 20px;
    right: auto;
    border-radius: 50%;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    line-height: 1;
    font-weight: 400;
    background: #2eb774;
    color: var(--wp--preset--color--white);
    border: unset;
}

.wp-block-latest-posts.owl-carousel .owl-dots {
    margin-top: 10px;
}

.wp-block-latest-posts.owl-carousel li {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.wp-block-latest-posts.owl-carousel li .wp-block-latest-posts__featured-image,
.wp-block-latest-posts.owl-carousel li .wp-block-latest-posts__post-title,
.wp-block-latest-posts.owl-carousel li time {
    margin-right: 10px;
    margin-left: 10px;
    text-align: center;
    display: block;
}

.wp-block-latest-posts.owl-carousel li .wp-block-latest-posts__featured-image {
    margin-bottom: 20px;
}

.wp-block-latest-posts.owl-carousel li .wp-block-latest-posts__post-title {
    order: 1;
    text-transform: uppercase;
}

.wp-block-latest-posts.owl-carousel li time {
    order: 0;
    color: var(--wp--preset--color--theme-medium-gray);
}

.wp-block-dm-external-libraries-fontawesome.has-rounded-eternal-border,
.wp-block-dm-external-libraries-fontawesome.has-rounded-eternal-border .fa {
    border-radius: 50%;
    border: 1px solid var(--wp--preset--color--theme-dark-blue);
    ;
}

.wp-block-dm-external-libraries-fontawesome.has-rounded-eternal-border .fa {
    width: 2.5em;
    height: 2.5em;
    line-height: 2.5em;
    color: var(--wp--preset--color--white);
    background-color: var(--wp--preset--color--theme-dark-blue);
}

.wc-block-grid__products li .wc-block-grid__product-image.second-image {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    height: auto;
    transition: all .4s ease;
    border: none;
    pointer-events: none;
}

.wc-block-grid__products li .wc-block-grid__product-image.second-image img {
    border: none;
    object-fit: cover;
}

.wc-block-grid__products li:hover .wc-block-grid__product-image.second-image {
    opacity: 1;
}

.yith-wcan-filters .yith-wcan-filter .filter-title {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ebebeb;
}

a.added_to_cart.wc_forward,
a.added_to_cart.wc-forward {
    display: none;
}

.single-product .wp-container-core-columns-is-layout-1 .wp-block-column.is-layout-flow.wp-block-column-is-layout-flow {
    margin-right: 30px;
}

.shop_table.woocommerce-checkout-review-order-table {
    width: 100% !important;
}

label[for="filter_16_1_15"] {
    display: none;
}

@media (max-width: 1024px) {
    .wc-block-grid__products li .wc-block-grid__product-container {
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    }

    .wc-block-grid__products li .wp-block-button.wc-block-grid__product-add-to-cart {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
        position: relative;
    }

    .wc-block-grid__products li .wpc-buttons {
        visibility: visible;
        opacity: 1;
        transform: translateX(0);
    }
}

.ncr_ar_payment_form {
    padding-bottom: 30px;
}

@media(max-width: 768px) {

    .ncr_ar_payment_form select,
    .ncr_ar_payment_form .col-md-4:not(:last-child) input,
    .ncr_ar_payment_form .col-md-6:not(:last-child) input,
    .ncr_ar_payment_form .col-lg-2:not(:last-child) input,
    .ncr_ar_payment_form .col-lg-2:not(:last-child) input,
    .ncr_ar_payment_form #ncr_ar_amount {
        margin-bottom: 15px;
    }
}


/* Contact form styles */

.file-upload {
    border: 1px dashed #ccc;
    border-radius: 6px;
    padding: 40px;
    text-align: center;
    background-color: #fafafa;
    cursor: pointer;
    transition: border-color 0.3s, background-color 0.3s;
    font-family: system-ui, sans-serif;
}

.file-upload:hover {
    border-color: #aaa;
    background-color: #f9f9f9;
}

.file-upload p {
    color: #888;
    margin-bottom: 15px;
    font-size: 14px;
}

.file-upload button {
    background-color: #8b1f1f;
    /* deep red, matches your screenshot */
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.file-upload button:hover {
    background-color: #a02525;
}

.file-upload input[type="file"] {
    display: none;
}

.required-field {
    color: #790000;
}

.cf-container {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -5px;
    margin-left: -5px;
}

#wpcf7-f4967-p27-o1 .wpcf7-submit,
.wpcf7-form .wpcf7-submit {
    background-color: #9c0f17 !important;
    border-color: #9c0f17 !important;
    color: #fff !important;
    border-radius: 5px !important;
}

.cf-container label {
    font-weight: 600;
}

.cf-container label span input {
    margin-top: 8px;
}

.cf-d-flex {
    display: flex;
}

.cf-container small {
    font-size: 12px;
    margin-top: -10px;
    position: relative;
}

.cf-padding-wo-label {
    padding-top: 31px;
}

.cf-col-1,
.cf-col-2,
.cf-col-3,
.cf-col-4,
.cf-col-5,
.cf-col-6,
.cf-col-7,
.cf-col-8,
.cf-col-9,
.cf-col-10,
.cf-col-11,
.cf-col-12 {
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: 5px;
    padding-left: 5px;
}

@media (min-width: 576px) {
    .cf-col-1 {
        -ms-flex: 0 0 8.333333%;
        flex: 0 0 8.333333%;
        max-width: 8.333333%;
    }

    .cf-push-1 {
        margin-left: 8.333333%;
    }

    .cf-col-2 {
        -ms-flex: 0 0 16.66667%;
        flex: 0 0 16.66667%;
        max-width: 16.66667%;
    }

    .cf-push-2 {
        margin-left: 16.66667%;
    }

    .cf-col-3 {
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }

    .cf-push-3 {
        margin-left: 25%;
    }

    .cf-col-4 {
        -ms-flex: 0 0 33.33333%;
        flex: 0 0 33.33333%;
        max-width: 33.33333%;
    }

    .cf-push-4 {
        margin-left: 33.33333%;
    }

    .cf-col-5 {
        -ms-flex: 0 0 41.66667%;
        flex: 0 0 41.66667%;
        max-width: 41.66667%;
    }

    .cf-push-5 {
        margin-left: 41.66667%;
    }

    .cf-col-6 {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .cf-push-6 {
        margin-left: 50%;
    }

    .cf-col-7 {
        -ms-flex: 0 0 58.33333%;
        flex: 0 0 58.33333%;
        max-width: 58.33333%;
    }

    .cf-push-7 {
        margin-left: 58.33333%;
    }

    .cf-col-8 {
        -ms-flex: 0 0 66.66667%;
        flex: 0 0 66.66667%;
        max-width: 66.66667%;
    }

    .cf-push-8 {
        margin-left: 66.66667%;
    }

    .cf-col-9 {
        -ms-flex: 0 0 75%;
        flex: 0 0 75%;
        max-width: 75%;
    }

    .cf-push-9 {
        margin-left: 75%;
    }

    .cf-col-10 {
        -ms-flex: 0 0 83.33333%;
        flex: 0 0 83.33333%;
        max-width: 83.33333%;
    }

    .cf-push-10 {
        margin-left: 83.33333%;
    }

    .cf-col-11 {
        -ms-flex: 0 0 91.66667%;
        flex: 0 0 91.66667%;
        max-width: 91.66667%;
    }

    .cf-push-11 {
        margin-left: 91.66667%;
    }

    .cf-col-12 {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Shop menu items styles */

.child-cat-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 16px;
    padding: 10px 0;
}

.parent-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.parent-cat {
    padding: 5px 0;
}

.wp-block-navigation__submenu-container.test.wp-block-navigation-submenu {
    width: 800px;
}


.column-grid {
    min-width: 700px;
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 6px 10px;
    /* row gap 6px, column gap 16px */
    padding: 10px 0 !important;
}

.large-column-grid {
    min-width: 900px;
    display: grid !important;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 6px 10px;
    /* row gap 6px, column gap 16px */
    padding: 10px 0 !important;
}

.large-column-grid .wp-block-navigation-item__content {
    word-break: break-word;
    overflow-wrap: break-word;
}

.wp-block-navigation-item.has-child>.wp-block-navigation-item__content[aria-expanded="true"] .chevron {
    transform: rotate(180deg);
    transition: transform 0.2s ease;
}

/* Optional: spacing inside child submenu items */
.child-submenu .wp-block-navigation-item {
    padding: 3px 0;
}

.flex-column-item {
    flex-direction: column;
}

.font-parent-category {
    font-weight: 800;
}

.font-parent-category a {
    margin-bottom: 8px;
}

.font-child-category {
    font-weight: 400;
}

.category-columns {
    display: flex;
    flex-direction: row !important;
    padding: 10px;
    max-height: 400px;
    overflow: hidden;
  }
  
  .category-columns ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .category-columns li {
    margin-bottom: 0.5rem;
  }
  
  .category-columns .category-column {
    min-width: 250px;
    overflow-y: scroll;
  }

  .category-columns a {
    text-decoration: none;
    color: inherit;
  }
  
  .category-columns .child-submenu {
    flex-direction: column !important;
    align-items: flex-start;
  }

  /* Related products block wishlist nad quickview button styles */
  .wpc-buttons {
    display: flex;
        flex-direction: column;
        position: absolute;
        right: 20px;
        top: 20px;
        background-color: transparent;
        z-index: 9;
        visibility: hidden;
        opacity: 0;
        transition: all .35s ease;
        transform: translateX(-15px);
        gap: 10px;
    }
    
    .wp-block-post.product.type-product:hover .wpc-buttons {
        visibility: visible;
        opacity: 1;
        transform: translateX(0);
    }
    
    .wp-block-post.product.type-product .woosq-btn,
    .wp-block-post.product.type-product .woosw-btn,
    .product-template-default .woosw-btn {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
        padding: 0;
        font-size: 12px;
        line-height: 1;
        transition: all .35s 
    ease;
        padding: 0;
        border-radius: 50%;
        color: var(--wp--preset--color--white);
        background-color: var(--wp--preset--color--theme-dark-blue);
        cursor: pointer;
        border: unset;
    }

    .wc-block-components-product-rating__container span.rating::before {
        color: #fcb941;
    }

    .wp-block-add-to-cart-form.wc-block-add-to-cart-form .qib-button-wrapper {
        width: 100%;
    }

    body .qib-button-wrapper {
        justify-content: unset;
        margin-bottom: 35px;
    }

    .wp-block-add-to-cart-form.wc-block-add-to-cart-form .wqpmb_input_text.input-text {
        padding: 0 6px 0 !important;
    }


    .after-order-total-info-block {
        justify-content: center;
        align-items: center;
        text-align: center;
        font-weight: bold;
    }

    .after-order-total-info-block:nth-of-type(2) {
        display: none;
    }

.woocommerce-grouped-product-list-item .woocommerce-grouped-product-list-item__label,
.woocommerce-grouped-product-list-item .woocommerce-grouped-product-list-item__price {
    padding-top: 12px;
}

.wc-block-add-to-cart-form .quantity .qty {
    width: 1.63em;
}

body #dm-cookie-consent-banner .dm-cookie-consent-banner-buttons a {
    min-width: 130px !important;
}

.ywcas-popover-results.css-1lnx5i8.e83suct0 {
    left: unset !important;
    right: 20px;
}

.product_type_grouped span {
    color: #ffffff;
}

.woosw-popup .woosw-popup-inner .woosw-popup-content {
    max-width: 520px;
}

.wp-block-woocommerce-related-products .wp-block-post .wc-block-grid__product-image.second-image {
    display: none;
}

.page-id-10 .entry-content {
    padding-top: 25px;
}

.page-id-10 .woocommerce-MyAccount-navigation-link {
    padding: 0 0 15px 0 !important;
}

.woosw-actions #woosw_copy_url {
    width: 370px;
}

.font-parent-category {
    padding-left: 10px !important;
}

.woocommerce-Price-amount.amount {
    font-weight: bolder;
}

.wp-block-woocommerce-product-meta .wc-block-components-product-sku {
    margin-right: 15px;
}

.wc-block-components-radio-control .wc-block-components-radio-control__input {
    top: 25% !important;
}

.pswp__scroll-wrap .pswp__caption {
    display: none;
}

.wp-block-columns .wp-block-column.is-layout-flow.wp-block-column-is-layout-flow:nth-child(2) {
    padding-left: 25px;
}

@media (max-width: 600px) {

    .wp-block-navigation__container .category-columns {
        flex-direction: column !important;
        padding: 5px 0 !important;
    }

    .category-column {
        min-height: 100px;
        margin: 5px 0 !important;
    }

    .woocommerce-grouped-product-list-item .woocommerce-grouped-product-list-item__price {
        min-width: 50px;
    }

    .wc-block-cart-item__total-price-and-sale-badge-wrapper .price.wc-block-components-product-price {
        margin-top: -3px;
    }

    body #dm-cookie-consent-banner .dm-cookie-consent-banner-buttons a {
        min-width: 100px !important;
    }
}