/*///////////////////23.11.25 - Eli*/
/* 1.Underline all of the links in the site */
a:hover, button:hover {
    text-decoration: underline !important;
}

/* //////////////////17.12.25 - Gabi
Remove "Open cart" after adding to cart */
.added_to_cart.wc-forward {
    display: none !important;
}
/*////////////////// 18.12.25 - Gabi
Change the color of the "Add to cart" button and edit the text*/

.tinvwl-table-manage-list .product-action button.button.alt {
    background-color: #9A0B0B !important;
    font-size: 12px;
     font-family: 'Roboto', sans-serif;
     text-transform: none;
     font-weight: 400; 
}

/*////////////////// 22.12.25 - Eli
Remove flash border when clicking on logo, cart, profile and products */
a:focus, a:active, button:focus, button:active {
    outline: none !important;
    border: none !important;
}

.woocommerce ul.products li.product img {
    border: none !important;
    transition: none !important;
}


/*///////////////// 23.12.25 - Gabi
1.=== HIDE WOOCOMMERCE PAGE TITLE === */
.woocommerce-page .page-title,
.woocommerce .woocommerce-products-header__title {
    display: none !important;
}

/* 2.=== HIDE BREADCRUMBS (OceanWP + WooCommerce) === */
.woocommerce-page .site-breadcrumbs,
.woocommerce-page .oceanwp-breadcrumbs,
.woocommerce-page .woocommerce-breadcrumb {
    display: none !important;
}

/* /////////////////03.05.26 - Gabi
1. Narrow margins on Checkout page */
/* Checkout + Cart: по-тесен контейнер */
.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce {
    max-width: 1100px;   /* регулирай: 800–1100px според вкус */
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

/*///////////////// 10.01.26 - Gabi
1. Center product attributes in the product archive only on the shop page
===========================================*/
.woocommerce ul.products li.product .price {
    display: flex;
    justify-content: center;
    align-items: center;
}

.woocommerce ul.products li.product {
    text-align: center;
}

.woocommerce ul.products li.product .button {
    margin-left: auto;
    margin-right: auto;
    float: none;
}
/*==========================================*/
/* 2. Remove underline from the title and price in the product archive */
.woocommerce ul.products li.product .woocommerce-loop-product__title:hover,
.woocommerce ul.products li.product .price:hover,
.woocommerce ul.products li.product a:hover {
    text-decoration: none !important;
}

/* 3. Change text color on hover in the product archive */
.woocommerce ul.products li.product:hover .woocommerce-loop-product__title {
    color: #c88920;
}

/* 4. Change the product title size in the product archive */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 19px;
}

/* 5. Align all elements in the product and equal height in the product archive*/
/* ======================================= */
/* 5.1. Flex container for all products */
.woocommerce ul.products {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch; /* equal heights */
}

/* ======================================= */
/* 5.2. Product card – desktop + tablet (4 columns) */
@media (min-width: 768px) {
    .woocommerce ul.products li.product {
        flex: 0 0 23%;
        margin-right: 2%;
        margin-bottom: 2%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start !important;
        text-align: center;
    }

    .woocommerce ul.products li.product:nth-child(4n) {
        margin-right: 0;
    }

    /* Wishlist + Add to Cart – closer together */
    .woocommerce ul.products li.product .tinv-wishlist {
        margin-top: auto !important;
        margin-bottom: 0 !important;
    }

    .woocommerce ul.products li.product .tinvwl_add_to_wishlist_button {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .woocommerce ul.products li.product .button {
        margin-top: 5px !important;
        margin-bottom: 0 !important;
        align-self: center;
    }
}

/* ======================================= */
/* 5.3. Mobile devices – 2 columns */
@media (max-width: 768px) {

    .woocommerce ul.products {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 20px 30px !important;
        align-items: stretch !important;
    }

    /* Remove WooCommerce clearfix elements from Grid */
    .woocommerce ul.products::before,
    .woocommerce ul.products::after {
        content: none !important;
        display: none !important;
    }

    .woocommerce ul.products li.product {
        width: 100% !important;
        margin: 0 !important;
        float: none !important;
        display: flex !important;
        flex-direction: column !important;
        text-align: center;
        min-width: 0;
    }

    .woocommerce ul.products li.product .woocommerce-loop-product__title {
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
        white-space: normal !important;
    }

    /* Wishlist + Add to Cart closer together */
    .woocommerce ul.products li.product .tinv-wishlist {
        margin-top: auto !important;
        margin-bottom: 0 !important;
    }

    .woocommerce ul.products li.product .tinvwl_add_to_wishlist_button {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .woocommerce ul.products li.product .button {
        margin-top: 5px !important;
        margin-bottom: 0 !important;
        align-self: center;
    }
}
/* ======================================= */
/* 6.  Remove filter on subcategories 

.tax-product_cat .widget-area {
    display: none;
}*/

/*///////////////// 11.01.26 - Gabi
1. Fix footer position on TI Wishlist page */
body.page-id-772 #wrap {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.page-id-772 #main {
    flex: 1;
}
/* ======================================= */
/* 30.01.26 - Eli */
/*Remove yellow mark background of category product number */
.woocommerce-loop-category__title .count {
    background: transparent !important;
}
/* ======================================= */
/* 04.02.26 - Gabi */

/* Showing the currency in one line 
.woocommerce .price,
.woocommerce-cart .price,
.woocommerce-checkout .price,
.woocommerce-mini-cart .price,
.woocommerce-mini-cart .woocommerce-Price-amount {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
}

.price .eur-price {
    margin-left: 5px;
    font-size: 0.9em;
    color: #555;
    
}*/
/* ======================================= */
/*///////////////// 01.03.26 - Gabi
1. Fix footer position on cart page, page "My account", page "Contacts",page "Za nas" and "Empty Cart"*/

body.page-id-987 #outer-wrap,
body.page-id-233 #outer-wrap,
body.page-id-481 #outer-wrap,
body.page-id-62 #outer-wrap,
body.page-id-2548 #outer-wrap {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.page-id-987 #wrap,
body.page-id-233 #wrap,
body.page-id-481 #wrap,
body.page-id-62 #wrap,
body.page-id-2548 #wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
}

body.page-id-987 #main,
body.page-id-233 #main,
body.page-id-481 #main,
body.page-id-62 #main,
body.page-id-2548 #main {
    flex: 1;
}

/*///////////////// 12.03.26 - Gabi
1. Removing the label of stock quantity on product single page*/

.single-product .stock {
    display: none !important;
}

/*///////////////// 13.03.26 - Gabi
1. Changing the size of thumbnail images of product single page*/
.woocommerce div.product .flex-control-thumbs li {
    width: 60px !important;
}

.woocommerce div.product .flex-control-thumbs img {
    width: 60px;
    height: auto;
}

/*///////////////// 21.03.26 - Gabi
1. Changing the thumbnail images on single page to be on one line*/
.elementor-widget-woocommerce-product-images .flex-control-thumbs {
    display: flex;
    flex-wrap: nowrap !important; /* винаги на един ред */
    overflow-x: auto;
    padding-top: 10px;
}

/* ======================================= */
/* 03.05.26 - Еli - Checkout page
1. Make visible checkboxes for making new profile while making new order and 
confirm the term services */
.woocommerce form .form-row .input-checkbox {
    display: inline-block;
}

/* 2.Change background-color of the "Order" button */
.woocommerce button.button.alt,
.woocommerce button.button.alt:hover {
    background-color: #9a0b0b;
}

/* 3.Cart page - Change background-color of the "Finish order" button */
.woocommerce a.button.alt,
.woocommerce a.button.alt:hover {
    background-color: #9a0b0b;
}
/* ======================================= */
/* 04.05.26 - Gabi */
/* Mobile: currencies on two lines and centered 
@media (max-width: 767px) {

    .woocommerce .price,
    .woocommerce-cart .price,
    .woocommerce-checkout .price,
    .woocommerce-mini-cart .price,
    .woocommerce-mini-cart .woocommerce-Price-amount {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        gap: 2px !important;
    }

    /* remove all automatic slash/decoration 
    .price .woocommerce-Price-amount::before,
    .price .woocommerce-Price-amount::after,
    .price .amount::before,
    .price .amount::after {
        content: none !important;
        display: none !important;
    }

    /* second line 
    .price .eur-price {
        margin: 0 !important;
        width: 100% !important;
        display: block !important;
        text-align: center !important;
    }

    /* separator only once 
    .price .bgn-price::after {
        content: "/" !important;
        display: block !important;
        line-height: 1 !important;
        margin-top: 2px !important;
    }
}*/
/* ======================================= */
/* 12.05.26 - Gabi */
.single-product .woocommerce-product-gallery {
    max-width: 95% !important;
    margin: 0 auto;
    overflow: hidden !important;
}

/* Masking 1px artefact of FlexSlider */
.single-product .woocommerce-product-gallery .flex-viewport {
    overflow: hidden !important;
    clip-path: inset(0 0 0 2px);
    -webkit-clip-path: inset(0 0 0 2px);
}

.single-product .woocommerce-product-gallery__image {
    max-height: 600px;
    overflow: hidden;
}
/* ======================================= */
/* 07.09.2026 - Gabi */

/* 1.Collapse WooCommerce Product Filters at 959px and below */
@media (max-width: 959px) {

    /* Display the button for opening the filters */
    .wc-block-product-filters .wc-block-product-filters__open-overlay {
        display: flex !important;
        align-items: center !important;
    }

    /* Make the filter overlay behave like the mobile version */
    .wc-block-product-filters .wc-block-product-filters__overlay {
        position: fixed !important;
        inset: 0 !important;
        top: var(--top-padding) !important;
        pointer-events: none !important;
        z-index: 9999 !important;
    }

    .wc-block-product-filters .wc-block-product-filters__overlay-wrapper {
        width: 100% !important;
        height: 100% !important;
        position: relative !important;
    }

    .wc-block-product-filters .wc-block-product-filters__overlay-dialog {
        position: absolute !important;
        inset: 0 !important;
        height: 100% !important;
        max-height: 100% !important;
        transform: translateY(100vh) !important;
        display: flex !important;
        flex-direction: column !important;
        background: var(
            --wc-product-filters-overlay-background-color,
            var(--wc-product-filters-background-color, #fff)
        ) !important;
    }

    .wc-block-product-filters .wc-block-product-filters__overlay-content {
        overflow-y: auto !important;
        flex-grow: 1 !important;
        padding: 0 var(--wp--preset--spacing--40) !important;
    }

    /* Apply styles when the filter overlay is open */
    .wc-block-product-filters.is-overlay-opened .wc-block-product-filters__overlay {
        pointer-events: auto !important;
        background-color: rgba(95, 95, 95, 0.35) !important;
    }

    .wc-block-product-filters.is-overlay-opened .wc-block-product-filters__overlay-dialog {
        transform: translateY(0) !important;
    }

    /* Display the drawer header and footer */
    .wc-block-product-filters .wc-block-product-filters__overlay-header,
    .wc-block-product-filters .wc-block-product-filters__overlay-footer {
        display: flex !important;
    }

}

/* 2. Centering the rating in product cards */
.woocommerce ul.products li.product .star-rating {
    margin-left: auto;
    margin-right: auto;
}
/* 3.  Moving the rating under the price in product cards */
.woocommerce-LoopProduct-link {
    display: flex !important;
    flex-direction: column !important;
}

.woocommerce-LoopProduct-link img {
    order: 1;
}

.woocommerce-LoopProduct-link .woocommerce-loop-product__title {
    order: 2;
}

.woocommerce-LoopProduct-link .price {
    order: 3;
}

.woocommerce-LoopProduct-link .star-rating {
    order: 4;
}

/* ======================================= */
/* 10.09.2026 - Gabi */
/* Filter sorting (duljina, visochina i shirina)
/* =========================================
   LENGTH
   ========================================= */

[data-wp-key="woocommerce/product-filter-attribute5"] .wc-block-product-filter-checkbox-list__items {
    display: flex;
    flex-direction: column;
}

[data-wp-key="woocommerce/product-filter-attribute5"] .wc-block-product-filter-checkbox-list__item {
    order: 999;
}

[data-wp-key="woocommerce/product-filter-attribute5"] .wc-block-product-filter-checkbox-list__item[data-wp-context*="0-10sm"] { order: 1; }
[data-wp-key="woocommerce/product-filter-attribute5"] .wc-block-product-filter-checkbox-list__item[data-wp-context*="10-20sm"] { order: 2; }
[data-wp-key="woocommerce/product-filter-attribute5"] .wc-block-product-filter-checkbox-list__item[data-wp-context*="20-30sm"] { order: 3; }
[data-wp-key="woocommerce/product-filter-attribute5"] .wc-block-product-filter-checkbox-list__item[data-wp-context*="30-40sm"] { order: 4; }
[data-wp-key="woocommerce/product-filter-attribute5"] .wc-block-product-filter-checkbox-list__item[data-wp-context*="40-50sm"] { order: 5; }
[data-wp-key="woocommerce/product-filter-attribute5"] .wc-block-product-filter-checkbox-list__item[data-wp-context*="50-60sm"] { order: 6; }
[data-wp-key="woocommerce/product-filter-attribute5"] .wc-block-product-filter-checkbox-list__item[data-wp-context*="60-70sm"] { order: 7; }
[data-wp-key="woocommerce/product-filter-attribute5"] .wc-block-product-filter-checkbox-list__item[data-wp-context*="70-80sm"] { order: 8; }
[data-wp-key="woocommerce/product-filter-attribute5"] .wc-block-product-filter-checkbox-list__item[data-wp-context*="90-100sm"] { order: 9; }
[data-wp-key="woocommerce/product-filter-attribute5"] .wc-block-product-filter-checkbox-list__item[data-wp-context*="30-sm"] { order: 10; }
[data-wp-key="woocommerce/product-filter-attribute5"] .wc-block-product-filter-checkbox-list__item[data-wp-context*="38-sm"] { order: 11; }
[data-wp-key="woocommerce/product-filter-attribute5"] .wc-block-product-filter-checkbox-list__item[data-wp-context*="40-sm"] { order: 12; }
[data-wp-key="woocommerce/product-filter-attribute5"] .wc-block-product-filter-checkbox-list__item[data-wp-context*="48-sm"] { order: 13; }
[data-wp-key="woocommerce/product-filter-attribute5"] .wc-block-product-filter-checkbox-list__item[data-wp-context*="50-sm"] { order: 14; }
[data-wp-key="woocommerce/product-filter-attribute5"] .wc-block-product-filter-checkbox-list__item[data-wp-context*="54-sm"] { order: 15; }
[data-wp-key="woocommerce/product-filter-attribute5"] .wc-block-product-filter-checkbox-list__item[data-wp-context*="65-sm"] { order: 16; }
[data-wp-key="woocommerce/product-filter-attribute5"] .wc-block-product-filter-checkbox-list__item[data-wp-context*="90-sm"] { order: 17; }
[data-wp-key="woocommerce/product-filter-attribute5"] .wc-block-product-filter-checkbox-list__item[data-wp-context*="114-sm"] { order: 18; }


/* =========================================
   WIDTH
   ========================================= */

[data-wp-key="woocommerce/product-filter-attribute6"] .wc-block-product-filter-checkbox-list__items {
    display: flex;
    flex-direction: column;
}

[data-wp-key="woocommerce/product-filter-attribute6"] .wc-block-product-filter-checkbox-list__item {
    order: 999;
}

[data-wp-key="woocommerce/product-filter-attribute6"] .wc-block-product-filter-checkbox-list__item[data-wp-context*="0-10sm"] { order: 1; }
[data-wp-key="woocommerce/product-filter-attribute6"] .wc-block-product-filter-checkbox-list__item[data-wp-context*="10-20sm"] { order: 2; }
[data-wp-key="woocommerce/product-filter-attribute6"] .wc-block-product-filter-checkbox-list__item[data-wp-context*="20-30sm"] { order: 3; }
[data-wp-key="woocommerce/product-filter-attribute6"] .wc-block-product-filter-checkbox-list__item[data-wp-context*="30-40sm"] { order: 4; }
[data-wp-key="woocommerce/product-filter-attribute6"] .wc-block-product-filter-checkbox-list__item[data-wp-context*="28-sm"] { order: 5; }
[data-wp-key="woocommerce/product-filter-attribute6"] .wc-block-product-filter-checkbox-list__item[data-wp-context*="30-sm"] { order: 6; }
[data-wp-key="woocommerce/product-filter-attribute6"] .wc-block-product-filter-checkbox-list__item[data-wp-context*="37-sm"] { order: 7; }
[data-wp-key="woocommerce/product-filter-attribute6"] .wc-block-product-filter-checkbox-list__item[data-wp-context*="46-sm"] { order: 8; }
[data-wp-key="woocommerce/product-filter-attribute6"] .wc-block-product-filter-checkbox-list__item[data-wp-context*="47-sm"] { order: 9; }


/* =========================================
   HEIGHT
   ========================================= */

[data-wp-key="woocommerce/product-filter-attribute7"] .wc-block-product-filter-checkbox-list__items {
    display: flex;
    flex-direction: column;
}

[data-wp-key="woocommerce/product-filter-attribute7"] .wc-block-product-filter-checkbox-list__item {
    order: 999;
}

[data-wp-key="woocommerce/product-filter-attribute7"] .wc-block-product-filter-checkbox-list__item[data-wp-context*="0-2sm"] { order: 1; }
[data-wp-key="woocommerce/product-filter-attribute7"] .wc-block-product-filter-checkbox-list__item[data-wp-context*="2-4sm"] { order: 2; }
[data-wp-key="woocommerce/product-filter-attribute7"] .wc-block-product-filter-checkbox-list__item[data-wp-context*="4-6sm"] { order: 3; }
[data-wp-key="woocommerce/product-filter-attribute7"] .wc-block-product-filter-checkbox-list__item[data-wp-context*="6-8sm"] { order: 4; }
[data-wp-key="woocommerce/product-filter-attribute7"] .wc-block-product-filter-checkbox-list__item[data-wp-context*="18-20sm"] { order: 5; }
[data-wp-key="woocommerce/product-filter-attribute7"] .wc-block-product-filter-checkbox-list__item[data-wp-context*="17-sm"] { order: 6; }
[data-wp-key="woocommerce/product-filter-attribute7"] .wc-block-product-filter-checkbox-list__item[data-wp-context*="20-sm"] { order: 7; }
[data-wp-key="woocommerce/product-filter-attribute7"] .wc-block-product-filter-checkbox-list__item[data-wp-context*="30-sm"] { order: 8; }
[data-wp-key="woocommerce/product-filter-attribute7"] .wc-block-product-filter-checkbox-list__item[data-wp-context*="40-sm"] { order: 9; }
[data-wp-key="woocommerce/product-filter-attribute7"] .wc-block-product-filter-checkbox-list__item[data-wp-context*="47-sm"] { order: 10; }
[data-wp-key="woocommerce/product-filter-attribute7"] .wc-block-product-filter-checkbox-list__item[data-wp-context*="56-sm"] { order: 11; }
[data-wp-key="woocommerce/product-filter-attribute7"] .wc-block-product-filter-checkbox-list__item[data-wp-context*="95-sm"] { order: 12; }
[data-wp-key="woocommerce/product-filter-attribute7"] .wc-block-product-filter-checkbox-list__item[data-wp-context*="103-sm"] { order: 13; }