.custom-wishlist {
  padding: 20px 0;
}

.wishlist-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 20px;
}

.wishlist-bulk-select {
  padding: 6px 10px;
  border-radius: 4px;
  border: 1px solid #ddd;
  font-size: 14px;
}

.wishlist-bulk-button {
  background-color: #0F3043;
  color: #fff;
  border: none;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
}

.wishlist-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.wishlist-item-wrapper {
  position: relative;
}

.wishlist-checkbox {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px;
  border-radius: 3px;
  z-index: 5;
  width: 22px;
}
.wishlist-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #0F3043; /* Pentru browsere moderne */
  cursor: pointer;
}

.wishlist-item-actions {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 5;
}

.remove-wishlist-item {
  background: none;
  border: none;
  color: #D32F2F;
  font-size: 18px;
  cursor: pointer;
  font-weight: bold;
  line-height: 1;
  margin-top: 4px;
}
.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: #0F3043;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 400;
    font-size: 14px;
    transition: background-color 0.3s ease;
}
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button:hover {
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 400;
    font-size: 14px;
    transition: background-color 0.3s ease;
    background-color: #0F3043;
}
.tinv-wishlist .custom-product .product-fav {
  display: none;
}
.wishlist-checkbox {
    opacity: 0;
    transition: opacity 0.3s ease;
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 20;
}

.wishlist-item-wrapper:hover .wishlist-checkbox {
    opacity: 1;
}
.wishlist-item-wrapper:hover .custom-product {
  border: 1px solid #0F3043;
  box-shadow: 0 0 10px rgba(15, 48, 67, 0.6);
  transition: all 0.3s ease;
}
/* Ascundem checkbox-ul implicit */
.wishlist-item-checkbox {
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Afișăm la hover */
.wishlist-item-wrapper:hover .wishlist-item-checkbox {
  opacity: 1;
}

/* Afișăm dacă este selectat */
.wishlist-item-wrapper.is-selected .wishlist-checkbox,
.wishlist-item-wrapper.is-selected .wishlist-item-checkbox {
  opacity: 1;
}

/* Evidențiem produsele selectate */
.wishlist-item-wrapper.is-selected .custom-product {
  border: 1px solid #0F3043;
  box-shadow: 0 0 10px rgba(15, 48, 67, 0.6);
  transition: all 0.3s ease;
}

/* Butonul Selectează tot */
.wishlist-select-all-btn {
  margin-bottom: 20px;
  padding: 10px 20px;
  background-color: #0F3043;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
}
.product-badges {
  transition: all .3s ease-in-out;
}
.wishlist-item-wrapper:not(.item-in-cart):hover .product-badges,
.wishlist-item-wrapper.is-selected .product-badges {
  /*top: 38px;*/
  transition: all .3s ease-in-out;
}
.wishlist-select-all-btn {
  margin-top: 15px;
}
.cart-empty-elements {
    text-align: center;
    font-size: 18px;
}
.cart-empty-elements h3 {
    margin-bottom: 0;
}
.cart-empty-elements p {
    color: #7C7C7C;
    margin: 0 0 15px 0;
}
.cart-empty-elements .cart-big-icon {
    margin: 0 auto;
}
.cart-empty-elements .checkout-btn {
    display: inline-block;
    width: auto;
    padding: 15px 30px;
}

.catalog-btn {
    display: block;
    width: 100%;
    background: transparent;
    color: #B74923;
    font-size: 16px;
    font-weight: 500;
    padding: 15px;
    border: 1px solid #B74923;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    margin-top: 10px;
}
.checkout-btn {
    display: block;
    width: 100%;
    background: #0F3043;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    margin-top: 20px;
    text-transform: uppercase;
    background: linear-gradient(to top right, #0F3043 25%, #02ACCA 100%);
}
.woocommerce-cart-layout {
    width: 100%;
}

.cart-big-icon {
    width: 150px;
    height: 150px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain; 
    display: block;   
    margin-bottom: 5px;
}
.wishlist-actions-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}
.custom-wishlist .tinvwl_add_to_wishlist_button {
  display: none;
}
.add-to-wishlist-btn,
.add-to-wishlist-btn * {
  font-size: 0;
}
.add-to-wishlist-btn {
  width: 18px;
  height: 16px;
  background-image: url(../img/094.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  cursor: pointer;
}
.product-fav.in-wishlist .add-to-wishlist-btn {
  background-image: url(../img/094a.png);
}