/* =====================================
   WISHLIST – FINAL MOBILE UI (EXACT ICON)
   ===================================== */

@media (max-width: 768px) {

    .wishlist-container {
        padding: 16px 12px;
        background-color: #f8fafc;
    }

    .wishlist-card {
        width: 100% !important;
        border: none !important;
    }

    .wishlist-table thead {
        display: none;
    }

    .wishlist-table tbody tr:not(.wishlist-type-row) {
        display: block;
        background: #fff;
        border-radius: 14px;
        margin-bottom: 14px;
        border: 1px solid #e5e7eb;
        padding: 8px 0;
    }

    .wishlist-table tbody td {
        display: flex;
        align-items: center;
        padding: 10px 16px !important;
        border: none !important;
    }

    

    .product-item-price {
        font-weight: 800;
        color: #000;
    }

    

    /* EXACT trash icon style */
   
    .remove-from-wishlist:hover {
        background: #f9fafb;
        border-color: #fecaca;
    }

    
}





/* ===============================
   FORCE REMOVE THEME X ICON
   =============================== */


/* ===============================
   CUSTOM TRASH ICON (SVG STYLE)
   =============================== */
@media (max-width: 768px) {

    

    

    .remove-from-wishlist:hover {
        border-color: #fecaca;
        background: #f9fafb;
    }

    .remove-from-wishlist:hover::after {
        filter: brightness(0) saturate(100%) invert(36%) sepia(74%) saturate(3176%) hue-rotate(340deg);
    }
}
/* ===============================
   MOBILE LEFT ALIGN FIX
   =============================== */
@media (max-width: 768px) {

    .wishlist-table tbody td {
        justify-content: flex-start !important;
        text-align: left !important;
    }

    .product-item-name {
        text-align: left !important;
        align-self: flex-start;
    }

    .product-item-price {
        text-align: left !important;
        justify-content: flex-start !important;
    }

    
}
@media (max-width: 768px) {

    /* gap between each product card */
    .wishlist-table tbody tr:not(.wishlist-type-row) {
        margin-bottom: 16px !important;
    }

    /* gap between category (Books) and first card */
    .wishlist-type-row {
        margin-bottom: 14px !important;
    }

    /* extra safety: last row gap */
    .wishlist-table tbody tr {
        margin-top: 4px;
    }
}

@media (max-width: 768px) {

    /* page side padding */
    .wishlist-container {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    /* card side gap */
    .wishlist-card {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* each product card inner spacing */
    .wishlist-table tbody tr:not(.wishlist-type-row) {
        margin-left: 4px;
        margin-right: 4px;
    }

    /* category row (Books / Magazines) */
    .wishlist-type-row {
        margin-left: 4px;
        margin-right: 4px;
    }
@media (max-width: 768px) {

    

    /* Remove button center & clean */
    .product-item-close {
        justify-content: center !important;
    }

    .remove-from-wishlist {
        margin-left: 0 !important;
    }
}






@media (max-width: 768px) {

    /* Remove label hide */
    

    /* Remove opacity from theme */
    .remove-from-wishlist {
        opacity: 1 !important;
        background: #fff;
        border: 1px solid #e5e7eb;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
    }

    /* Icon visible & dark */
    .remove-from-wishlist i {
        font-size: 18px;
        color: #6b7280 !important; /* dark grey */
    }

    /* Hover effect */
    .remove-from-wishlist:hover {
        background: #fef2f2;
        border-color: #fecaca;
    }

    .remove-from-wishlist:hover i {
        color: #ef4444 !important;
    }

    /* Align left (not floating middle) */
    .product-item-close {
        justify-content: flex-start !important;
        padding-left: 0 !important;
    }
}





@media (max-width: 768px) {

    /* row layout */
    .wishlist-table tbody td {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 12px;
    }

    /* LABEL (Remove) */
    
    /* REMOVE CELL */
    .product-item-close {
        justify-content: flex-start;
    }

    /* REMOVE BUTTON */
    .remove-from-wishlist {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        background: #fff;
    }

    .remove-from-wishlist i {
        font-size: 18px;
        color: #ef4444;
    }
}




@media (max-width: 768px) {

    /* SAME STYLE AS PRICE */
    

    /* REMOVE row layout */
    .product-item-close {
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    /* Remove icon */
    .remove-from-wishlist {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        background: #fff;
    }

    
}


/* REMOVE BUTTON – SAME ON DESKTOP & MOBILE */
.remove-from-wishlist {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #f1bdbd;
    border-radius: 8px;
    background: #fff;
}

/* TRASH ICON COLOR – GREY (NOT RED) */
.remove-from-wishlist i {
    font-size: 18px;
    color: #9ca3af;   /* grey like screenshot */
}

/* Hover effect (optional, soft) */
.remove-from-wishlist:hover {
    background: #f9fafb;
    border-color: #e5e7eb;
}

.remove-from-wishlist:hover i {
    color: #6b7280;   /* darker grey on hover */
}











/* SAME ICON FOR DESKTOP + MOBILE */
.remove-from-wishlist {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #f1d0d0;
    border-radius: 8px;
    background: #fff;
    position: relative;
}

/* GREY TRASH ICON (SVG) */


/* HOVER OPTIONAL */
.remove-from-wishlist:hover {
    background: #f9fafb;
    border-color: #e5bcbc;
}








/* ===============================
   FORCE GREY ICON (DESKTOP + MOBILE)
   =============================== */

.remove-from-wishlist {
    background: #fff !important;
    border: 1px solid #f1dada !important;
    width: 36px;
    height: 36px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

/* 🔥 FORCE FontAwesome icon color */
.remove-from-wishlist i,
.remove-from-wishlist i::before,
.fas.fa-trash {
    color: #9ca3af !important;   /* GREY */
}

/* 🔥 hover par pan RED disable */
.remove-from-wishlist:hover,
.remove-from-wishlist:hover i,
.remove-from-wishlist:hover i::before {
    color: #9ca3af !important;
    background: #fff !important;
    border-color: #f1dada !important;
}





/* ===============================
   REMOVE BUTTON – FINAL FIX
   SAME FOR DESKTOP + MOBILE
   =============================== */

.remove-from-wishlist {
    width: 36px;
    height: 36px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px;
    background: #fff !important;
    text-decoration: none;
}

/* FORCE GREY ICON */
.remove-from-wishlist i,
.remove-from-wishlist i::before,
.fas.fa-trash {
    color: #9ca3af !important;   /* GREY */
    font-size: 18px;
}

/* NO RED ON HOVER */
.remove-from-wishlist:hover,
.remove-from-wishlist:hover i {
    background: #fff !important;
    color: #9ca3af !important;
    border-color: #e5e7eb !important;
}

/* MOBILE LABEL SAME AS PRICE */
@media (max-width: 768px) {
    
    }

    .product-item-close {
        justify-content: flex-start !important;
    }
}









/* ===============================
   MOBILE: SHOW "Remove" TEXT LIKE PRICE
   =============================== */
@media (max-width: 768px) {

    /* label text show */
    

    /* remove cell alignment */
    .product-item-close {
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    /* icon box */
    .remove-from-wishlist {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        background: #fff;
    }

    /* icon color GREY */
    .remove-from-wishlist i {
        font-size: 18px;
        color: #9ca3af !important;
    }
}









/* ===============================
   MOBILE REMOVE TEXT FIX (FINAL)
   =============================== */
@media (max-width: 768px) {

    /* FORCE label text */
    .wishlist-table tbody td.product-item-close::before {
        content: "Remove";
        font-size: 14px;
        font-weight: 800;
        color: #000;
        min-width: 95px;
        border-right: 1px solid #cbd5e1;
        padding-right: 12px;
        margin-right: 14px;
    }

    /* layout */
    .product-item-close {
        display: flex;
        align-items: center;
        justify-content: flex-start !important;
    }

    /* icon box */
    .remove-from-wishlist {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        background: #fff;
    }

    /* icon color grey */
    .remove-from-wishlist i {
        font-size: 18px;
        color: #9ca3af !important;
    }
}





/* ===============================
   MOBILE REMOVE – CLEAN & FINAL
   =============================== */
@media (max-width: 768px) {

    .wishlist-table thead {
        display: none;
    }

    .wishlist-table tbody tr:not(.wishlist-type-row) {
        display: block;
        background: #fff;
        border: 1px solid #e5e7eb;
        border-radius: 14px;
        margin-bottom: 16px;
        padding: 8px 0;
    }

    .wishlist-table tbody td {
        display: flex;
        align-items: center;
        padding: 10px 16px;
    }

    /* LABEL */

    /* REMOVE ROW */
    .product-item-close {
        justify-content: flex-start;
    }

    /* REMOVE BUTTON */
    .remove-from-wishlist {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        background: #fff;
    }

    /* ICON */
    .remove-from-wishlist i {
        font-size: 18px;
        color: #9ca3af; /* GREY */
    }
}











/* ===============================
   MOBILE REMOVE – FINAL WORKING
   =============================== */
@media (max-width: 768px) {

    .wishlist-table thead {
        display: none;
    }

    .wishlist-table tbody tr:not(.wishlist-type-row) {
        display: block;
        background: #fff;
        border: 1px solid #e5e7eb;
        border-radius: 14px;
        margin-bottom: 16px;
        padding: 8px 0;
    }

    .wishlist-table tbody td {
        display: flex;
        align-items: center;
        padding: 10px 16px;
    }

    /* LABEL (Product / Price / Remove) */
    /*.wishlist-table tbody td::before {
        content: attr(data-label);
        font-weight: 800;
        color: #000;
        min-width: 95px;
        border-right: 1px solid #cbd5e1;
        padding-right: 12px;
        margin-right: 14px;
    }*/

    /* REMOVE ROW */
    .product-item-close {
        justify-content: flex-start;
    }

    /* REMOVE BUTTON */
    .remove-from-wishlist {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        background: #fff;
    }

    /* ICON – GREY */
    .remove-from-wishlist i {
        font-size: 18px;
        color: #9ca3af;
    }
}


/* ===============================
   MOBILE – ONLY ADD REMOVE TEXT
   =============================== */
@media (max-width: 768px) {

  .wishlist-table tbody td.product-item-close::before {
      content: "Remove";
      font-weight: 700;
      color: #475569;
      margin-right: 12px;
      white-space: nowrap;
  }

  .product-item-close {
      display: flex;
      align-items: center;
  }
}




/* =========================
   MOBILE CART UI (FIXED)
========================= */
@media (max-width: 768px) {

  .table-responsive-list {
    overflow: visible !important;
  }

  table.cart-table,
  table.cart-table tbody,
  table.cart-table tr,
  table.cart-table td {
    display: block !important;
    width: 100% !important;
  }

  table.cart-table thead {
    display: none !important;
  }

  table.cart-table tr {
    background: #fff;
    border-radius: 16px;
    margin-bottom: 16px;
    padding: 14px;
    box-shadow: 0 6px 20px rgba(0,0,0,.1);
  }

  table.cart-table td {
    border: none !important;
    padding: 6px 0 !important;
  }

  .product-item-img img {
    width: 70px;
    border-radius: 12px;
  }

  .product-item-name {
    font-size: 15px;
    font-weight: 600;
  }

  .product-item-close {
    text-align: right;
  }
}




@media (max-width: 768px) {
  .table-responsive-list {
    overflow: visible !important;
  }
}













