.custom-bundle-products {
    margin-top: 60px;
    padding: 40px 0;
}

.custom-bundle-products__heading {
    margin-bottom: 36px;
    max-width: 700px;
}

.custom-bundle-products__heading h2 {
    font-size: 56px;
    line-height: 1.05;
    margin: 0 0 16px;
    font-weight: 400;
    color: #2f261f;
}

.custom-bundle-products__heading p {
    margin: 0;
    font-size: 18px;
    line-height: 1.6;
    color: #5f5a55;
}

.custom-bundle-products__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 48px 28px !important;
}

.bundle-product-card {
    display: flex;
    flex-direction: column;
}

/* Badge stilovi */
.bundle-product-card__image-wrapper {
    position: relative;
    overflow: hidden;
}

.product-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
    display: flex;
    gap: 5px;
}

.badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
}

.badge.sale {
    background: #8B322C;
}

/* Tamno crvena sa slike */
.badge.new {
    background: #3D8C5E;
}

/* Zelena sa slike */
.badge.gratis {
    background: #3D8C5E;
}

.bundle-product-card__image {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    margin-bottom: 20px;
    text-decoration: none;
}

.bundle-product-card__image img {
    max-width: 100%;
    height: auto;
    display: block;
}

.bundle-product-card__category {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
    color: #4a423c;
    font-weight: 600;
}

.bundle-product-card__title {
    font-size: 18px;
    line-height: 1.3;
    margin: 0 0 14px;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    font-family: "DM Sans", sans-serif !important;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bundle-product-card__title a {
    text-decoration: none;
    color: #2f261f;
}

.bundle-product-card__title a:hover {
    text-decoration: none;
    color: #2f261f;
}

.bundle-product-card__price {
    color: #2f261f;
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 20px;
}

.bundle-product-card__price del span {
    color: #2E2A27 !important;
    font-size: 14px;
    font-family: "DM Sans", sans-serif !important;
    font-weight: 700;
}

.bundle-product-card__price span.woocommerce-Price-amount {
    font-size: 30px;
    color: #2E2A27 !important;
    font-family: "DM Sans", sans-serif !important;
    font-weight: 700;
}

.bundle-product-card__price del span.woocommerce-Price-amount {
    color: #2E2A2780 !important;
    font-size: 14px;
    font-family: "DM Sans", sans-serif !important;
    font-weight: 700;
}

.bundle-product-card__price del span.woocommerce-Price-amount .woocommerce-Price-currencySymbol {
    color: #2E2A2780 !important;
    font-size: 14px;
    font-family: "DM Sans", sans-serif !important;
    font-weight: 700;
}

.bundle-product-card__price ins span {
    font-size: 30px;
    color: #2E2A27 !important;
    font-family: "DM Sans", sans-serif !important;
    font-weight: 700;
}

.bundle-product-card__price ins span.woocommerce-Price-currencySymbol {
    font-size: smaller;
    vertical-align: top;
}

.bundle-product-card__rating {
    margin-bottom: 12px;
}

.bundle-product-card__stock {
    margin-bottom: 20px;
    font-size: 14px;
}

.bundle-product-card__stock .in-stock {
    color: #3c8c45;
    display: flex;
    gap: 5px;
    align-items: anchor-center;
}

.in-stock .dot {
    width: 8px;
    height: 8px;
    background: #3c8c45;
    border-radius: 50%;
}

.bundle-product-card__stock .out-of-stock {
    color: #b64b4b;
}

.bundle-product-card__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bundle-product-card__actions .wd-wishlist-btn a {
    width: 46px;
    height: 46px;
    border: 1px solid #2f261f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bundle-product-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    min-height: 46px;
    padding: 0 22px;
    background-color: rgba(195, 90, 28, 1);
    border: 1px solid rgba(195, 90, 28, 1);
    border-radius: 999px;
    text-decoration: none;
    color: #fff !important;
    transition: all 0.2s ease;
}

.bundle-product-card__button:hover {
    background: rgba(195, 90, 28, 0.7);
    color: #fff;
}

/* CUSTOM BUNDLE CARD HOVER EFFECT */
.bundle-product-card {
    border-radius: 8px;
    transition: transform .25s ease, box-shadow .25s ease;
}

.bundle-product-card:hover {
    transform: translateY(-2px);
}

.bundle-product-card__image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #f6f2ee;
}

.bundle-product-card__image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    transition: opacity .25s ease;
    pointer-events: none;
}

.bundle-product-card__image img {
    transition: transform .35s ease;
}

.bundle-product-card:hover .bundle-product-card__image::after {
    opacity: 1;
}

.bundle-product-card:hover .bundle-product-card__image img {
    transform: scale(1.06);
}

@media (max-width: 1200px) {
    .custom-bundle-products__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .custom-bundle-products__heading h2 {
        font-size: 40px;
    }

    .custom-bundle-products__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .custom-bundle-products__grid {
        grid-template-columns: 1fr;
    }

    .custom-bundle-products__heading h2 {
        font-size: 32px;
    }
}


/*BLOG GRID LANDING PAGE*/
.blog-landing-section .musashi-blog-grid .post-date,
.blog-landing-section .musashi-blog-grid .entry-meta,
.blog-landing-section .musashi-blog-grid .hovered-social-icons {
    display: none !important;
}

.blog-landing-section .musashi-blog-grid .meta-categories-wrapp {
    position: absolute !important;
    top: 15px;
    left: 15px;
    inset-inline: unset !important;
}

.blog-landing-section .musashi-blog-grid .blog-design-mask .article-body-container {
    display: flex !important;
    align-items: flex-end !important;
    height: 100% !important;
    background: linear-gradient(to bottom, transparent 5%, rgba(0, 0, 0, 0.35) 75%, rgba(0, 0, 0, 0.8) 100%) !important;
}

.blog-landing-section .musashi-blog-grid .wd-entities-title {
    text-align: left !important;
}

.blog-landing-section .musashi-blog-grid .meta-post-categories {
    background-color: #8B3A2E !important;
    color: #fff !important;
    font-family: "DM Sans", sans-serif !important;
    font-size: 12px !important;
    border-radius: 100px !important;
}

.blog-landing-section .article-inner {
    position: relative !important;
    cursor: pointer !important;
}

.blog-landing-section .wd-entities-title a {
    position: static !important;
}

.blog-landing-section .wd-entities-title a::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
}

Stil za kontejner forme .woocommerce-ordering {
    margin-bottom: 20px;
}

/* Osnovni stil za select polje */
.woocommerce-ordering select.orderby {
    backdrop-filter: blur(10px);
    padding: 10px 40px 10px 15px !important;
    font-size: 16px;
    font-family: "Inter", sans-serif;
    color: #2E2A27;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 15px center !important;
    /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02); */
    border-bottom: none !important;
    max-width: 280px !important;
}

/* Hover efekat */
.woocommerce-ordering select.orderby:hover {
    background-color: rgba(255, 255, 255, 0.9) !important;
    border-color: rgba(0, 0, 0, 0.2) !important;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
}

/* Focus stanje (kad se klikne) */
.woocommerce-ordering select.orderby:focus {
    outline: none;
    border-color: #8b572a !important;
    /* Tvoja braon boja sa sajta */
    background-color: #fff !important;
}

/* Sređivanje opcija unutar select-a (koliko browser dozvoli) */
.woocommerce-ordering select.orderby option {
    background: #fff;
    color: #333;
    padding: 10px;
}

.custom-bundle-products .products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.custom-bundle-products .product-grid-item,
.custom-bundle-products .wd-product {
    width: auto !important;
    max-width: 100%;
}

.custom-bundle-products img {
    height: auto;
    max-width: 100%;
}

@media (max-width: 1024px) {
    .custom-bundle-products .products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .custom-bundle-products .products {
        grid-template-columns: 1fr;
    }
}

/*HEADING MINI CART*/
.cart-widget-side .wd-heading {
    padding: 25px 0;
    background-color: white !important;
}

.cart-widget-side .wd-heading .title {
    padding: 25px 0;
    font-family: "DM Sans", sans-serif !important;
    font-weight: 600;
    font-size: 16px;
    color: #2E2A27 !important;
    text-align: center;
    text-transform: uppercase;
}

.cart-widget-side .wd-heading .title span.cart-count-highlight {
    color: #2E2A2780 !important;
}

/* 1. Reset i glavni kontejner stavke */
.woocommerce-mini-cart-item.mini_cart_item {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: relative !important;
    padding: 15px !important;
    border-bottom: 1px solid #f1f1f1;
    gap: 15px !important;
}

/* Sklanjamo onaj nevidljivi WoodMart link koji prekriva sve */
.cart-item-link.wd-fill {
    display: none !important;
}


.mini_cart_item .cart-item-image img {
    border-radius: 5px;
}

/* 3. Info blok (Naslov, Quantity, Cena) */
.mini_cart_item .cart-info {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    padding-right: 10px !important;
    min-width: 248px;
}

/* Sređivanje naslova */
.mini_cart_item .wd-entities-title {
    font-size: 14px !important;
    line-height: 1.3 !important;
    display: block !important;
    margin-bottom: 5px !important;
}

/* 4. Sklanjanje "1 x" i sređivanje cene */
.mini_cart_item .cart-info>span.quantity {
    font-size: 0 !important;
    /* Sakriva "1 x" */
    color: transparent !important;
}

.mini_cart_item .cart-info>span.quantity .amount {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #222 !important;
    display: inline-block !important;
}


/* Tvoja ikonica */
.mini_cart_item .remove.remove_from_cart_button::before {
    content: "" !important;
    display: block !important;
    width: 33px;
    height: 33px;
    background-image: url('../assets/trash-icon-mini-cart.svg') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.mini_cart_item .remove.remove_from_cart_button::after {
    content: "" !important;

}

/* 6. HOVER EFEKTI */
.mini_cart_item .remove.remove_from_cart_button:hover {
    border-color: #333 !important;
    background-color: #f9f9f9 !important;
    transform: scale(1.08);
}

/* Opciono: Lagano rotiranje ikonice na hover (trash shake) */
.mini_cart_item .remove.remove_from_cart_button:hover::before {
    transform: scale(1.1);
}

/* Sredjivanje razmaka za quantity inpute ako se i oni preklapaju */
.mini_cart_item .quantity:not(span) {
    display: flex !important;
    margin-top: 5px;
}

/* 1. FORCE ROW na glavni kontejner */
.custom-cart-actions {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    bottom: -33px;
    width: 100% !important;
    position: relative !important;
}

/* 2. UBRIŠI taj bottom: 6px i absolute koji vidiš na slici */
.cart-widget-side .cart-info .custom-cart-actions div.quantity,
.cart-widget-side .cart-info div.quantity {
    position: static !important;
    bottom: auto !important;
    margin: 0 !important;
    flex: 0 0 auto !important;
}

/* 3. Sredi kantu da stoji pored */
.custom-cart-actions .remove {
    position: static !important;
    display: flex !important;
    width: 33px !important;
    height: 33px !important;
    margin: 0 !important;
    flex: 0 0 33px !important;
}

/* 4. Tvoja ikonica */
.custom-cart-actions .remove::before {
    content: "" !important;
    display: block !important;
    width: 33px;
    height: 33px;
    background-image: url('../assets/trash-icon-mini-cart.svg') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

/* 5. Sakrij onaj x1 i cenu da ne smetaju u ovom redu */
.mini_cart_item>.quantity {
    display: none !important;
}

.custom-cart-actions .quantity .minus:hover,
.custom-cart-actions .quantity .plus:hover {
    background-color: #8B3A2E !important;
}

@media (max-width: 475px) {
    .custom-cart-actions {
        bottom: 0px !important;
    }
}
